﻿

var SteadyJiWen = {

    html : function(){
        var html =  "";
        if(Global.currElementObj.name == "稳定通过界限温度"){
            html += '<div class="pluginsDiv" id="steadyJiwenDiv">';
          //  html += "<div class=\"layui-form-item pluginsSingleRows\"><label class=\"layui-form-label\">初日:</label><div class=\"layui-input-inline\"><input type=\"radio\" value=\"初日\" name=\"anniu\" checked=\"true\"/></div></div>";
            //html += "<div class=\"layui-form-item pluginsSingleRows\"><label class=\"layui-form-label\">终日:</label><div class=\"layui-input-inline\"><input type=\"radio\" value=\"终日\" name=\"anniu\" /></div></div>";
           // html += "<div class=\"layui-form-item pluginsSingleRows\"><label class=\"layui-form-label\">积温:</label><div class=\"layui-input-inline\"><input type=\"radio\" value=\"积温\" name=\"anniu\" /></div></div>";
            html += "<div class=\"layui-form-item pluginsSingleRows\"><label class=\"layui-form-label\">极限温度：</label>" +
                    "<div class=\"layui-input-inline\" >" +
                    "<select lay-filter=\"jiexianwendu\" id=\"jiexianwendu\">"+
                    "<option  selected value=\"0\">0</option>"+
                    "<option  value=\"1\">1</option>"+
                    "<option  value=\"2\">2</option>"+
                    "<option  value=\"3\">3</option>"+
                    "<option  value=\"4\">4</option>"+
                    "<option  value=\"5\">5</option>"+
                    "<option  value=\"6\">6</option>"+
                    "<option  value=\"7\">7</option>"+
                    "<option  value=\"8\">8</option>"+
                    "<option  value=\"9\">9</option>"+
                    "<option  value=\"10\">10</option>"+
                    "<option  value=\"11\">11</option>"+
                    "<option  value=\"12\">12</option>"+
                    "<option  value=\"13\">13</option>"+
                    "<option  value=\"14\">14</option>"+
                    "<option  value=\"15\">15</option>"+
                    "<option  value=\"16\">16</option>"+
                    "<option  value=\"17\">17</option>"+
                    "<option  value=\"18\">18</option>"+
                    "<option  value=\"19\">19</option>"+
                    "<option value=\"20\">20</option>"+
                    "<option value=\"21\">21</option>"+
                    "<option value=\"22\">22</option>"+
                    "<option value=\"23\">23</option>"+
                    "<option value=\"24\">24</option>"+
                    "<option value=\"25\">25</option>"+
                    "</select>"+
                    "</div></div>";
        }
        html+= "</div>";
        return html;
    },
    getData : function(){
        // var jiexianwendu = $("#jiexianwendu").val();
        var jiexianwendu =$('#jiexianwendu option:selected') .val();
        var anniu = $("input[name='anniu']:checked").val(); 
        Global.postData.paramsMap+= ";jiexianwendu="+jiexianwendu;
        Global.postData.paramsMap+= ";anniu="+anniu;
    }

}